/*
 * @Descripttion:
 * @version:
 * @Author: ChenXiang
 * @Date: 2021-04-08 17:20:54
 * @LastEditors: ChenXiang
 * @LastEditTime: 2021-09-07 16:25:47
 */

import React, { useEffect, useState } from "react";
import Signature from "@/hocs/Signature";
export default (props: any) => {
  const [data, setData] = useState('');
  useEffect(() => {
    setTimeout(() => {
      setData("")
    }, 1000)
  }, [])
  return (
    <div>
      <Signature
        // hintText={'请在上方空白处为处方签名'}
        alertText={'签名内容不能为空'}
        data={data}
        callback={(e) => {
          console.log("e");
          console.log(e);
        }}
      />
    </div>
  );
};
